package com.v2.k7;

public class User {

	//没有get/set方法，那么spring-k7.xml中peoperty不能插入进去
	private Person person;

	private String id;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 测试get/set是否必须
	 */
//	public Person getPerson() {
//		return person;
//	}
//
//	public void setPerson(Person person) {
//		this.person = person;
//	}

	/**
	 * 测试构造是否必须
	 */
	public User(Person person) {
		this.person = person;
	}
//	public User() {
//	}
}
